
<script type="text/javascript">
    function GetQueryString(name)
    {
        var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
        var r = window.location.search.substr(1).match(reg);
        if(r!=null)return  unescape(r[2]); return null;
    }
    function aa() {
        var arg = GetQueryString('isLogin');
        if(arg === '0'){
            alert('用户名或者密码错误！');
        }
        document.getElementById('testOfSign').style.display=''
    }
</script>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="icon" href="img/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="jQuery/jquery-3.2.1.min.js">
    <link rel="stylesheet" type="text/css" href="jQuery/popper.min.js">
    <link rel="stylesheet" type="text/css" href="jQuery/bootstrap.min.js">
    <link rel="stylesheet" href="css/bootstrapLogin.min.css">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>宜阳县住建工程管理系统</title>
    <style>
        /*
         * Globals
         */

        /* Links */
        a,
        a:focus,
        a:hover {
            color: #fff;
        }

        /*
         * Base structure
         */

        html,
        body {
            height: 100%;
            background-color: #eaeaef;
        }

        body {
            display: -ms-flexbox;
            display: -webkit-box;
            display: flex;
            -ms-flex-pack: center;
            -webkit-box-pack: center;
            justify-content: center;
            color: #fff;
        }

        .cover-container {
            width: 100%;
        }


        /*
         * Header
         */
        .masthead {
            margin-bottom: 2rem;
        }

        .nav-masthead .nav-link {
            padding: .25rem 0;
            font-weight: 700;
            color: rgba(255, 255, 255, .5);
            background-color: transparent;
            border-bottom: .25rem solid transparent;
        }

        .nav-masthead .nav-link:hover,
        .nav-masthead .nav-link:focus {
            border-bottom-color: rgba(255, 255, 255, .25);
        }

        .nav-masthead .nav-link + .nav-link {
            margin-left: 1rem;
        }

        .nav-masthead .active {
            color: #fff;
            border-bottom-color: #fff;
        }

        @media (min-width: 48em) {
            .masthead-brand {
                float: left;
            }

            .nav-masthead {
                float: right;
            }
        }
        /*
         * Cover
         */
        .cover {
            padding: 0 1.5rem;
        }

        .cover .btn-lg {
            padding: .75rem 1.25rem;
            font-weight: 700;
        }

        /*
         * Tikin
         */

        @font-face {
            font-family: tikinFont;
            src: url('http://qiniu.yuxinjishu.com/SourceHanSansCN-Normal.otf');
        }


        .caption {
            font-family: tikinFont;
            margin:20px;
            margin-bottom: 0%;
            color: #2672d9;
            font-size: 32px;
            ont-weight: bold;
            letter-spacing: 4px;
        }

        .login-bachgroud {
            background:url(../img/login.png) no-repeat;
            background-size: 100% 100%;
            margin:0;
            min-width:1024px;
            max-width:100%;
            min-height: 600px;
            max-height: 100%;
        }

        input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0 1000px white inset;
        }
        /* .card-body {
             -webkit-box-flex: 1;
             -ms-flex: 1 1 auto;
             flex: 1 1 auto;
             padding: 10px 20px 20px 20px;
         }*/
        .glyphicon {
            position: relative;
            top: 44px;
            left: -44%;
            display: inline-block;
            font-family: 'Glyphicons Halflings';
            font-style: normal;
            font-weight: 400;
            line-height: 1;
            color: #c8c8c8c8;
            font-size: 22px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0 1000px #eeeeee inset;
        }
        .form-control:focus {
            border-color: #5294ee;
            outline: 0;
            -webkit-box-shadow: inset 0 1px 1px #5294ee, 0 0 8px #5294ee;
            box-shadow: inset 0 1px 1px #5294ee, 0 0 8px #5294ee;
        }
        .form-group {
            margin: 0px 20px 2% 20px;
        }
        .form-groupA     {
            margin: -20px 20px 2% 20px;
        }
        button{
            outline:none;
        }
    </style>

</head>
<body id="testOfSign" class="text-center login-bachgroud" onload="aa()" style="display: none">

<div class="cover-container d-flex h-100 p-3 mx-auto flex-column">
    <main role="main" class="inner cover">
            <div class="row" style="border-radius: 10px;width: 30%;height: 64%;margin-top: 8%;margin-left: 62%;background: #fff;">
                <div  style="padding-top:3%;padding-bottom:45px;width:100%;height:460px">
                    <div class="card-body">
                        <h4 class="caption">宜阳县住建工程管理系统</h4>
                        <form  autocomplete="new-password" action="signIn" method="post">
                            <div class="form-group">
                                <span class="glyphicon glyphicon-user"></span>
                                <input name="login_name" autofocus="autofocus" class="form-control" style="height:70px;font-size: 18px; padding-left: 61px;border-radius: 7px;background-color: #eeeeee;  font-family: tikinFont; " placeholder="用户名">
                            </div>
                            <div class="form-group">
                                <div class="glyphicon glyphicon-lock"></div>
                                <input name="password" type="password" class="form-control" style="height:70px;border-radius: 7px; font-size: 18px;padding-left: 61px; background-color: #eeeeee;   font-family: tikinFont;  margin-bottom: 50px;" placeholder="密码">
                            </div>
                            <div class="form-groupA">
                                <button type="submit" class="btn btn-primary btn-block btn-danger" style=" border-color: #5294ee;background-color: #5294ee;height: 70px;font-size:24px; font-family: tikinFont;">登 录</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
    </main>
</div>
</body>

</html>